package com.h3c.ptability.entity;

import java.util.Date;
import javax.persistence.*;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;

/**
 * Copyright (C), 2020-2020, h3c
 * FileName: PtRoleMenu
 *
 * @Author: l22886
 * @Date: 2022-03-14
 * Description: pt_role_menu 实体
 * Version: 1.0
 */
@ApiModel(value="PtRoleMenu对象", description="")
@Table(name = "pt_role_menu")
public class PtRoleMenu {


    @Column(name = "role_id")
    private String roleId;

    @Column(name = "item_id")
    private String itemId;

    @Column(name = "item_app_id")
    private String itemAppId;

    @Column(name = "create_time")
    private Date createTime;

    @Column(name = "creator_id")
    private String creatorId;

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getItemAppId() {
        return itemAppId;
    }

    public void setItemAppId(String itemAppId) {
        this.itemAppId = itemAppId;
    }

    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId;
    }

    @Override
    public String toString() {
        return "PtRoleMenu{" +
                "roleId=" + roleId +
                ", itemId=" + itemId +
                ", itemAppId=" + itemAppId +
                ", createTime=" + createTime +
                ", creatorId=" + creatorId +
                "}";
    }
}
